home *** CD-ROM | disk | FTP | other *** search
/ US Presidents / US Presidents CD-ROM - Compton New Media.iso / appsetup.inf next >
Encoding:
INI File  |  1992-04-22  |  12.7 KB  |  308 lines

  1. ; About This File
  2. ; ===============
  3. ;
  4. ; This file, APPSETUP.INF, contains information that Install uses to
  5. ; install applications. This file must be in the same directory as the
  6. ; program file INSTALL.EXE. The two files can be on a floppy disk, a hard
  7. ; disk, or a network disk drive.
  8. ;
  9. ; The information in this file determines
  10. ;
  11. ;   * The names of the disks and directories from which, and to which, Install
  12. ;     copies files
  13. ;
  14. ;   * The name of the group that Install creates in Program Manager's window, and the
  15. ;     names of program items that Install adds to that group
  16. ;
  17. ; You can create your own Install program by changing some of the information
  18. ; in this file.
  19. ;
  20. ; The Parts of APPSETUP.INF
  21. ; -------------------------
  22. ;
  23. ; APPSETUP.INF is similar in format to a Windows initialization (.INI) file.
  24. ;
  25. ; Sections: APPSETUP.INF is divided      into sections. Each section is identified by an
  26. ;           alphanumeric name enclosed in square brackets.
  27. ;
  28. ;           Most section names are "hard-coded": Install is written to search for
  29. ;           in APPSETUP.INF for that specific section name. However, some section
  30. ;           names are defined within other sections, and are therefore easily
  31. ;           customizable.
  32. ;
  33. ; Comments: A comment begins with a semicolon. You can include a comment
  34. ;           on the same line as syntax, as long as it comes after the syntax.
  35. ;
  36. ; Spaces:   Spaces are ignored, except when between double quotes.
  37. ;           Blank lines are also ignored.
  38. ;
  39. ; Sections in This File
  40. ; ---------------------
  41. ;
  42. ; The rest of this file contains the actual sections and statements
  43. ; that make up the working file. It also includes comments that
  44. ; explain each section and statement.
  45. ;
  46.  
  47. [dialog]
  48. ; The [dialog] section contains information pertaining to Install's dialog box.
  49. ;
  50. ; The Caption statement determines the text that appears in the title bar
  51. ; of Install's dialog box.
  52. ;
  53. ; The following Caption statement specifies the caption "Demo App Installation".
  54. ; To specify your own caption, replace the text "Demo App Installation" with the
  55. ; title you want (enclosed in double quotes).
  56.  
  57.   caption="U. S. Presidents Installation"
  58.   complete=Presidents is now installed. You must return to DOS and rerun Windows.
  59.  
  60. [data]
  61. ; The [data] section includes information about the location to which the
  62. ; application's files should be copied.
  63. ;
  64. ; The Defdir statement specifies the default directory for installing the
  65. ; application. This is the drive and directory name that will appear in the
  66. ; Install dialog box. The user can specify a different installation directory
  67. ; by typing a different name. (The Defdir statement MUST include a drive letter.)
  68. ;
  69. ; The following Defdir statement tells Install to display the default directory
  70. ; C:\DEMOAPP when asking the user where to install the application.
  71. ; To specify your own default directory, replace the text C:\DEMOAPP with
  72. ; the drive and directory you want.
  73.  
  74.   defdir = C:\PRES
  75.  
  76. [disks]
  77. ; The [disks] section defines the distribution disks that contain the application
  78. ; files. Install uses this information to tell the user to insert the correct disk.
  79. ;
  80. ; Elsewhere within this .INF file, the distribution disks are normally referred to
  81. ; by a single-character disk ID. This section defines those disk IDs, and includes
  82. ; information about the disk to which each disk ID refers.
  83. ;
  84. ; The disk ID '0' is reserved; it represents the installation directory --
  85. ; the directory in which the user is installing the application.
  86. ;
  87. ; The format of each disk definition is:
  88. ;
  89. ;     n = path, title
  90. ;
  91. ;  where
  92. ;     n       is the disk ID (a single character from 1-9 or A-Z).
  93. ;
  94. ;     path    the path of the source directory from which Install should copy
  95. ;             the files to the disk  The path can be relative to the
  96. ;             source directory (see examples below).
  97. ;
  98. ;     title   is a descriptive name for the disk. The title should match
  99. ;             the disk's printed or written label exactly.
  100. ;
  101. ; The following disk-definition statements define two distribution disks.
  102.  
  103. ;  1 =.,        "Guinness Setup Disk"
  104.   d =.,        "U. S. Presidents CD-ROM"
  105.  
  106. ; The first statement tells Install to refer to Disk 1 as "Demo Application
  107. ; Disk 1". Because the period (.) denotes the current directory, the files
  108. ; on that disk will be copied from the root directory of the
  109. ; distribution disk.
  110. ;
  111. ; The second statement tells Install to refer to Disk 2 as "Demo Application
  112. ; Disk 2"; the files that Disk 2 contains will be copied from the \FILES
  113. ; directory of the distribution disk.
  114. ;
  115. ; You can include as many disk-definition statements as necessary. Every
  116. ; distribution disk should have a corresponding disk-definition statement;
  117. ; otherwise, Install cannot tell the user to insert the appropriate disk.
  118.  
  119. [needed.space]
  120. ; The [needed.space] section defines how much disk space, in bytes, your
  121. ; application files require. If the specified amount of space is not available,
  122. ; Install will ask the user to specify a different hard disk, or exit Install.
  123. ; The following statement tells Install that this application requires 300KB of disk
  124. ; space:
  125. ;
  126. ; *** NOTE *** The following line was modified by PJS on 4/8/92
  127.  
  128.   minspace = 2300000
  129. ;
  130. [app.copy.appstuff]
  131.  
  132. ; The [app.copy.appstuff] section contains section-definition statements.
  133. ; Each statement defines a section that lists application files to be
  134. ; copied as part of installation. The sections are organized by file
  135. ; destination; you should define a separate section for each destination
  136. ; directory.
  137. ;
  138. ; Each section definition has the following form:
  139. ;
  140. ;     #section_name, 0:dest_pathname
  141. ;
  142. ; where
  143. ;
  144. ;     #section_name   defines the name of the .INF section that lists the
  145. ;                     files to be copied.
  146. ;     0                is the disk ID that represents the installation directory.
  147. ;                     (0 is a reserved disk ID, and always represents the
  148. ;                     installation directory -- the directory the user specified
  149. ;                     when asked where to install the application.)
  150. ;     dest_pathname   is the pathname of the destination directory, relative
  151. ;                     to the installation directory. For example, "0:FILES"
  152. ;                     represents the FILES subdirectory of the installation
  153. ;                     directory.
  154. ;
  155. ; The following section-definition statements define two sections, [app.user]
  156. ; and [app.system]. The files listed in the [app.user] section will be copied
  157. ; into the installation directory; those listed in the [app.system] directory
  158. ; will be copied into the SYSTEM subdirectory of the installation directory.
  159.  
  160.       #app.user,    0:
  161.       #win.system , w:
  162.  
  163. [win.system]
  164.   d:tmefnt.fon, "SmartDR fonts"
  165.   d:vgapal.drv, "Palettized VGA Driver"
  166.  
  167.  
  168. [app.user]
  169. ; This section is a user-defined section that lists files to be copied to a
  170. ; particular destination directory. The [app.copy.appstuff] section defines.
  171. ; the name of this section and the destination directory of the files.
  172. ;
  173. ; In each section like this one, you should list all files that you want copied
  174. ; to the same destination. (For example, all the files in this section, [app.user],
  175. ; will be copied to the installation directory.)
  176. ;
  177. ; Install copies the files listed in this section in the order in which they
  178. ; are listed.
  179. ;
  180. ; The syntax of each file listing is
  181. ;
  182. ;     N:FILENAME, "Description"
  183. ;
  184. ; where
  185. ;
  186. ;     N:           is the disk ID of the disk that contains the file. (Disk IDs
  187. ;                  are defined in the [disks] section.) If the specified disk
  188. ;                  is not in the disk drive, Install prompts the user to insert it.
  189. ;
  190. ;     FILENAME     is the name of the file, including the filename extension, if any.
  191. ;
  192. ;     Description  is descriptive text that Install displays as it is copying
  193. ;                  the file or group of files.  If you leave the description blank,
  194. ;                  Install will continue displaying the descriptive text from the
  195. ;                  previous file. This lets you use a general name for a group of files.
  196. ;
  197. ; For example, the first statement below tells Install to copy the file FILE1.FOO from
  198. ; Disk 1, and to display the descriptive text "Demo App" while copying that file. As
  199. ; explained above, the destination of the files in this section is determined by a
  200. ; section-definition statement in the [app.copy.appstuff] section.
  201.  
  202. d:SMARTDRW.EXE, "SMARTDRW.EXE"
  203. d:SDDISP.EXE,   "SDDISP.EXE"
  204. d:SPLASH.EXE,   "SPLASH.EXE"
  205. d:DBTEXT.DLL,   "DBTEXT.DLL"
  206. d:GIF.DLL,      "GIF.DLL"
  207. d:HOTKEYL.DLL,  "HOTKEYL.DLL"
  208. d:SMARTDLL.DLL, "SMARTDLL.DLL"
  209. d:AUDIO.DLL,    "AUDIO.DLL"
  210. d:WINCPP.DLL,   "WINCPP.DLL"
  211. d:BITMAP.DLL,   "BITMAP.DLL"
  212. d:SMARTDRW.INI, "SMARTDRW.INI"
  213. d:PRES.HLP,     "PRES.HLP"
  214. d:PRES.NMT,     "PRES.NMT"
  215. d:PRES.NMX,     "PRES.NMX"
  216. d:PRES.BRX,     "PRES.BRX"
  217. d:CAPTIONS.NMT, "CAPTIONS.NMT"
  218. d:CAPTIONS.NMX, "CAPTIONS.NMX"
  219. d:CAPTIONS.BRX, "CAPTIONS.BRX"
  220. d:SCREEN4.BMP,  "SCREEN4.BMP"
  221. d:SCREEN8.BMP,  "SCREEN8.BMP"
  222.  
  223.  
  224. [app.system]
  225. ; Like the [app.user] section, this section is user-defined, and lists
  226. ; files to be copied to a particular destination directory. The
  227. ; [app.copy.appstuff] section defines.the name of this section and the
  228. ; destination directory of the files listed in this section.
  229. ; See the preceding section for a description of the syntax for listing
  230. ; files.
  231.  
  232.  
  233. [progman.groups]
  234. ; The [progman.groups] section (optional) tells Install to create Program
  235. ; Manager groups for your application. (Install then uses DDE to communicate
  236. ; with Program Manager.)
  237. ;
  238. ; The section lists the names of the groups you want to create. You then
  239. ; define additional sections in this file; those sections list the program
  240. ; items you want in each group.
  241. ;
  242. ; The syntax for each group name is:
  243. ;
  244. ;     groupname, [groupfile.grp]
  245. ;
  246. ; where
  247. ;
  248. ;     groupname      is the title you want Program Manager to display
  249. ;                    under the icon that represents the group. (The
  250. ;                    groupname will also be the name of the section
  251. ;                    that defines the contents of the group.)
  252. ;
  253. ;     groupfile.grp  is the filename of the file in which Program Manager
  254. ;                    will save information about the group. (You must include
  255. ;                    the .GRP filename extension.) This parameter is optional;
  256. ;                    if you omit it, Install uses a default name for the
  257. ;                    group file.
  258. ;
  259. ; The following group-definition statement tells Install to create a group named
  260. ; Demo, and store its information in a file named DEMO_APP.GRP. The [demo] section
  261. ; will contain information about the group's contents.
  262.  
  263.    PRESIDENTS,PRES.GRP
  264.  
  265. [PRESIDENTS]
  266. ; This section is a user-defined section that define the contents of a
  267. ; Program Manager group file. The [progman.groups] section defines.
  268. ; the name of this section and the group, and the name of the file in which
  269. ; to store information about the group.
  270. ;
  271. ; In each section like this one, you should list all items that you want Install
  272. ; to add to the group.
  273. ;
  274. ; The syntax for item-definition statements is:
  275. ;
  276. ;     "Description",    APPFILE.EXE, [ICONFILE.EXE[, N]]
  277. ;
  278. ;where
  279. ;
  280. ;     Description   is the text that will appear below the program icon
  281. ;                   when displayed in the Program Manager group.
  282. ;
  283. ;     APPFILE.EXE   is the command line that starts the application.
  284. ;
  285. ;     ICONFILE.EXE  is the application file that contains the icon you
  286. ;                   want to represent the application. Typically, this is
  287. ;                   the executable application file, but it could be a
  288. ;                   different file. (You can also specify a .ICO file, created
  289. ;                   using the SDKPaint tool.) This parameter is optional; if you omit it,
  290. ;                   Install will use the first icon it finds in APPFILE.EXE.
  291. ;
  292. ;     N             is the offset of the icon you want to use within the file
  293. ;                   ICONFILE.EXE.  This parameter is optional; if you omit it,
  294. ;                   Install uses the first icon it finds in ICONFILE.EXE.
  295. ;                   You must include this parameter if the file you specify
  296. ;                   contains more than one icon, and you want to use an icon
  297. ;                   other than the first icon.
  298. ;
  299. ;                   To use the Nth icon, specify the number N-1. For example,
  300. ;                   to use the third icon, specify 2.
  301. ;
  302. ; For example, the following item-definition statement tells Install to add an item
  303. ; titled "Demo Application" to Program Manager. The application command line
  304. ; is FILE1.FOO; the file that contains the application icon is DEMO.ICO
  305.  
  306. "U.S. PRESIDENTS", smartdrw.exe,,4
  307.  
  308.